package com.bob.web.dao;

import com.bob.web.entity.system.Admin;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Created by admin on 2017/6/28.
 */
public interface IUserRepository extends MongoRepository<Admin, Integer>{
    Admin findByUsername(String username);
}
